<?php
session_start();
 if (empty($_SESSION['username']) AND empty($_SESSION['passuser'])){
  echo "<link href='style.css' rel='stylesheet' type='text/css'>
 <center>Untuk mengakses modul, Anda harus login <br>";
  echo "<a href=../../index.php><b>LOGIN</b></a></center>";
}
else{
$aksi="modul/mod_carabeli/aksi_carabeli.php";
switch($_GET[act]){
  // Tampil Cara Pembelian
  default:
   ?>
<div id="toolbar-box">
	<div class="t">
		<div class="t">
			<div class="t"></div>
		</div>
	</div>
	<div class="m">
		
		<div class="header icon-48-addedit">Cara Pembelian</div>
			<div class="clr"></div>
			</div>
		<div class="b">
			<div class="b">
				<div class="b"></div>
			</div>
		</div>
</div>
 <?
    $sql  = mysql_query("SELECT * FROM statis_content WHERE id_content='1'");
    $r    = mysql_fetch_array($sql);

    echo "<form method=POST action=$aksi?module=carabeli&act=update>
          <input type=hidden name=id value=$r[id_content]>
          <table>
         <tr><td><textarea name='isi' style='width: 700px; height: 350px;' class='required' title='&curren; Tidak boleh dikosongkan'>$r[isi_content]</textarea></td></tr>
         <tr><td><input type=submit value=Update class=tombol1></td></tr>
         </form></table>";
    break;  
}
}
?>
